Install the other a11y tests as well
authorMatthias Clasen <mclasen@redhat.com>
Wed, 15 May 2013 03:51:37 +0000 (23:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 15 May 2013 03:51:37 +0000 (23:51 -0400)
tests/a11y/Makefile.am
tests/a11y/a11ychildren.test.in [new file with mode: 0644]
tests/a11y/a11yderive.test.in [new file with mode: 0644]
tests/a11y/a11ytext.test.in [new file with mode: 0644]
tests/a11y/a11ytree.test.in [new file with mode: 0644]
tests/a11y/a11yutil.test.in [new file with mode: 0644]
tests/a11y/a11yvalue.test.in [new file with mode: 0644]

index 42ff568f94c839156cb634b263f6cb4cdca0cd0d..47b9a96b22ef07d9619715f46811be39a616b316 100644 (file)
@@ -77,7 +77,7 @@ testdata = \
 
 if BUILDOPT_INSTALL_TESTS
 insttestdir=$(pkglibexecdir)/installed-tests
-insttest_PROGRAMS = accessibility-dump
+insttest_PROGRAMS = $(TEST_PROGS)
 
 a11ytestdir = $(insttestdir)/a11ytests
 a11ytest_DATA = $(testdata)
@@ -86,14 +86,25 @@ substitutions = \
        -e s,@pkglibexecdir\@,$(pkglibexecdir),g \
        $(NULL)
 
-a11ytests.test: a11ytests.test.in Makefile
+test_in_files = \
+       a11ytests.test.in \
+       a11ychildren.test.in \
+       a11ytree.test.in \
+       a11yvalue.test.in \
+       a11yderive.test.in \
+       a11ytext.test.in \
+       a11yutil.test.in \
+       $(NULL)
+
+test_files = $(test_in_files:.test.in=.test)
+
+$(test_files): %.test: %.test.in
        $(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
 
-EXTRA_DIST += \
-       a11ytests.test.in
+EXTRA_DIST += $(test_in_files)
 
 testmetadir = $(datadir)/installed-tests/$(PACKAGE)
-testmeta_DATA = a11ytests.test
+testmeta_DATA = $(test_files)
 endif
 
 -include $(top_srcdir)/git.mk
diff --git a/tests/a11y/a11ychildren.test.in b/tests/a11y/a11ychildren.test.in
new file mode 100644 (file)
index 0000000..927cfe3
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/children"
+Type=session
+
diff --git a/tests/a11y/a11yderive.test.in b/tests/a11y/a11yderive.test.in
new file mode 100644 (file)
index 0000000..665b2e9
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/derive"
+Type=session
+
diff --git a/tests/a11y/a11ytext.test.in b/tests/a11y/a11ytext.test.in
new file mode 100644 (file)
index 0000000..c3435ed
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/text"
+Type=session
+
diff --git a/tests/a11y/a11ytree.test.in b/tests/a11y/a11ytree.test.in
new file mode 100644 (file)
index 0000000..390d1a5
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/tree-relationships"
+Type=session
+
diff --git a/tests/a11y/a11yutil.test.in b/tests/a11y/a11yutil.test.in
new file mode 100644 (file)
index 0000000..9140b9f
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/util"
+Type=session
+
diff --git a/tests/a11y/a11yvalue.test.in b/tests/a11y/a11yvalue.test.in
new file mode 100644 (file)
index 0000000..ddc16e2
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/value"
+Type=session
+